from driver import GPIO



LED1 = GPIO()
LED2 = GPIO()
LED1.open("state_led")
LED2.open("net_led")

def led_on(led_name):
    if led_name == "LED1":
        led_object = LED1
    elif led_name == "LED2":
        led_object = LED2
    led_object.write(1)

def led_off(led_name):
    if led_name == "LED1":
        led_object = LED1
    elif led_name == "LED2":
        led_object = LED2
    led_object.write(0)

   


        